home *** CD-ROM | disk | FTP | other *** search
/ Millennium Gold 2000 / Millennium Gold 2000 - Disc 1.iso / TEST2000.TXT < prev    next >
Text File  |  1997-09-26  |  13KB  |  252 lines

  1. YEAR2000 Compliance and YOUR PC
  2.  
  3. Introduction
  4.  
  5. A serious problem was designed into the PC in 1984 (and into many applications, files and databases since) 
  6. and remains a problem today: most computer systems will not gracefully enter the next decade, only a few 
  7. years away.  The system date will probably be incorrect - without assistance, anyway - on 01-01-2000 or 
  8. later because of a hardware design flaw. Similarly, many software applications will misbehave as the year 
  9. 2000 is approached and passed, too, even if the system date is correct.
  10.  
  11. In brief: most applications get the system date from the operating system, whose software-based calendar is 
  12. initialized at boot from the BIOS firmware, which in turn gets the date from the CMOS RTC, which is 
  13. hardware.
  14.  
  15. The CMOS RTC maintains a two-digit year, so the BIOS prefixes those two digits with a pair of stored 
  16. century digits to compose the four-digit year that it provides to the operating system.
  17.  
  18.  Since the century digits are not maintained by hardware (even though the digits are set by any system date 
  19. set command) they are not incremented when the year increments from 99 to 00; the result is that year 1999 
  20. will be followed by apparent year 1900. 
  21.  
  22. This results in an erroneous system date of 04-01-1980 at the next boot since 1900 is an invalid year to the 
  23. operating system.  Some  applications, which take the date from the BIOS rather than the operating system, 
  24. will therefore receive year 1900.
  25.  
  26. As this is written, machines are being produced that contain BIOS code that exerts measures intended to 
  27. cure the CMOS RTC century problem; it's probably safe to expect that these will become the norm 
  28. eventually.  By applying a 'windowing' technique to the two digits of the CMOS RTC year, some BIOS's 
  29. will infer and supply the correct  century. For example, year 2000 will be supplied to the operating system 
  30. and applications even though the indicated CMOS RTC year is 1900.
  31.  
  32.  
  33. Here's why:
  34.  
  35. First, if the correct date is lost after a reboot, the machine - despite any other behavior - cannot be 
  36. compliant.  
  37.  
  38. Some BIOS's (notably some Award v4.5x-series), for example, will reset the date to any one of a range of 
  39. dates within a permitted "window" (1994 to 1999, in the Award v4.5x-series case) if the date exceeds those 
  40. limits when the machine is rebooted.  
  41.  
  42. This means that the machine date cannot be correct after 31-12-1999. Such a BIOS cannot be corrected 
  43. with software, since the date change occurs in the BIOS boot process before any corrective software has 
  44. access to it; once the BIOS has changed the date, it is not possible to determine the correct date.
  45.  
  46. Second, if the BIOS century increments from 1999 to 2000, then the BIOS (or an applied corrective fix like 
  47. Y2KPCPro) is correctly receiving or inferring the century from the CMOS RTC year; this means that the 
  48. BIOS date makes the 1999-2000 transition correctly, and that the operating system (and therefore also most 
  49. applications) will receive the correct date, and it means that applications whose date is taken directly from 
  50. the BIOS will also receive the correct date.
  51.  
  52. If the BIOS date increments from 1999 to 1900 (rather than 2000), the date provided to the operating 
  53. system at the next boot will be invalid (01-01-1900, for example) and will typically result in an 
  54. OPERATING system date of 04-01-1980 and  applications which take the BIOS date will receive
  55. 01-01-1900, not 01-01-2000.  This BIOS date year 1999-2000 transition problem can be corrected by installing 
  56. Y2KPCPro on the machine.
  57.  
  58. Other testers of this sort test the CMOS RTC, which essentially always fails to increment from 1999 to 
  59. 2000.  What is important is not the CMOS RTC date itself, but what the BIOS does with the CMOS RTC 
  60. date, because the operating system uses the BIOS date and some applications use the BIOS date.
  61.  
  62. Although a fundamental design error that causes the year 2000 transition problem exists in the CMOS RTC, 
  63. the CMOS RTC date itself is unimportant because no common application software uses it directly, so 
  64. testing the CMOS RTC is immaterial, unnecessary and misleading.  The BIOS date is what matters and 
  65. despite its pervasive century error, the CMOS RTC date doesn't matter.
  66.  
  67. Other testers also test the operating system 1999 to 2000 increment, which will always pass.  There is no 
  68. reason to suspect an operating system date year 2000 failure.  [Windows 3.1 File Manager does odd things 
  69. to the year in its displays, but those are only display artifacts; the underlying date is handled correctly.]
  70.  
  71. Other testers also look at a variety of leap year concerns, none of which need any concern.  No PC hardware 
  72. leap year failures have ever been demonstrated, and there is no reason to suspect that PC hardware leap year 
  73. errors exist.  If another tester fails a leap year test, it is probably the testing program that has failed - not the 
  74. hardware.
  75.  
  76. What Does Test2000.Exe Do?
  77.  
  78. TEST2000 tests the BIOS year 1999-2000 transition by setting the BIOS date to 31-12-1999 23:59:58 and 
  79. observing the change of century.  A non-compliant BIOS will not change the century, so the apparent date 
  80. becomes 01-01-1900.  A compliant BIOS or a corrected BIOS will increment the century to 20.  Since 
  81. Y2KPCPRO will correct this error, the machine will pass this test if Y2KPCPRO is running.
  82.  
  83. TEST2000 tests the reboot cycle by setting the BIOS date to 2000-02-29 before rebooting the machine, 
  84. then checking that the date has not been changed by the reboot.  The original AUTOEXEC.BAT file will be 
  85. briefly renamed to AUTOEXEC.Y2K during the test, then restored to AUTOEXEC.BAT for the second 
  86. reboot.  The machine's AUTOEXEC.BAT is never modified; it is only renamed.  [Incidentally, any valid 
  87. after 01-01-2000 will do for this test; the choice of date was arbitrary.]
  88. This test will detect those BIOS's that cannot be corrected and which force a 2000+ date to 1994-01-01
  89. or 1980-01-01 at boot.
  90.  
  91.  
  92. Running TEST2000
  93.  
  94. Caution: 
  95.  
  96. Test2000.Exe will briefly set the system date to future dates.  If you 
  97. run any scheduling software, you should terminate those applications 
  98. before starting this diagnostic. If you run no software that runs 
  99. automatically and is triggered by date, you need not take any special 
  100. precautions.
  101.  
  102.  
  103. TEST2000.EXE should be run from the ROOT directory of the PC to be tested , and a results file, 
  104. Test2000.Tst, will be left there unless the NoBoot option is used.
  105.  
  106. If your PC currently runs MS-DOS 6.0 or higher and Windows 3.1x :
  107.  
  108. 1.    Close all applications normally, then re-boot your PC.
  109.  
  110. 2.    During the reboot process the message "Loading MS-DOS.." will be displayed briefly, during 
  111.         which time you should hit the [F5] key once. This will cause the operating system to be
  112.         loaded but by-pass the CONFIG.SYS and AUTOEXEC.BAT files. 
  113.  
  114. 3.    Proceed to step 4 below
  115.  
  116. If your PC currently runs Windows 95:
  117.  
  118. 1.      Close all applications normally, then select the option to "Restart the computer "
  119.         via the "START" button
  120.  
  121. 2.      During the reboot process the message "Starting Windows 95..." will be displayed briefly,
  122.         during which time you should hit the [F8] key once. This will cause the operating system
  123.         to load and present a number of BOOT options which may be selected via a menu. Select the
  124.         option for "Command Prompt Only".
  125.  
  126. 3.    Proceed to step 4 below
  127.  
  128. 4.    Insert the diagnostic diskette into the A: drive,  and copy the files from the diskette
  129.         onto the ROOT directory of the C:\ drive.
  130.  
  131. 5.    Run TEST2000 From the C:\> prompt, using of the following command line options:
  132.  
  133.         TEST2000 NoBoot         To perform only a 1999-2000 BIOS date transition test;
  134.  
  135.         TEST2000 NoPause        To cycle through the tests without pauses.
  136.  
  137.         TEST2000                Will cycle through the tests with pauses.
  138.  
  139.  
  140. While the diagnostic is running, the original AUTOEXEC.BAT file is renamed AUTOEXEC.Y2K.  If, for 
  141. some reason, the diagnostic fails to complete its tests, you may restore the original AUTOEXEC.BAT file 
  142. by running UNDO2000.BAT in the root directory.
  143.  
  144. In addition to the onscreen test results, text file Test2000.Tst will contain the test results after the test cycle 
  145. completes.  There are three possibilities:
  146.  
  147.         That the machine is compliant (both tests pass),
  148.  
  149.         That the machine is not compliant (fails the 1999-2000 transition test),
  150.         but can be made compliant with Y2KPCPro,
  151.  
  152.         That the machine is not compliant (fails the reboot test) and cannot be corrected,
  153.         except by a BIOS change if one is available.
  154.  
  155. Additionally, you may choose to run the program from a bootable diskette. If it is started from within 
  156. Windows, you will be given an opportunity to shut Windows down prior to rebooting.
  157.  
  158. What Do the Results Mean?
  159.  
  160. If the machine passes both tests, it is year 2000 compliant: you'll know that applications will receive the 
  161. correct date at all times, without concern.
  162.  
  163. If the machine fails the reboot test, it cannot correctly recall the last machine date if it was after 31-12-1999.  
  164. Some Award v4.5x-series BIOS's will force the date to 1994-01-01, for example. These BIOS's must be 
  165. upgraded, or the machine must be removed from date-sensitive service before the end of the decade, so this 
  166. is a serious failure.  It cannot be corrected with software and will probably require a BIOS upgrade, if one is 
  167. available, to correct it.
  168.  
  169. If the machine fails the BIOS date year 1999-2000 transition test, unless corrected the operating system date 
  170. will probably boot to 04-01-1980 on 01-01-2000, and applications that get the date via the BIOS will 
  171. receive the wrong century.  
  172. This failure can be corrected by running Y2KPCPRO on the machine.
  173.  
  174. Equivalent assisted manual testing:
  175.  
  176. [Caution: See the caution statement under "Running Test2000.Exe".]
  177.  
  178. Reboot test:
  179.  
  180. C:\>DATE 12-31-1999
  181. C:\>TIME 23:59
  182.  
  183. -    Wait for more than one minute.
  184. -    Reboot.
  185. -    Check the DOS date.
  186.  
  187. It should be 01-01-2000.  If it's 01-04-1980, the machine exhibits the year 2000 flaw and can be corrected 
  188. with Y2KPCPRO. If it's any other date (01-01-1994, for example) the machine cannot be corrected except 
  189. via a BIOS upgrade if one is available.
  190.  
  191. -    Reset the date to today's date.
  192.  
  193. Real time 1999-2000 transition test (requires ViewCMOS.Exe v5.11 or later, also on this diskette):
  194.  
  195. C:\>DATE 31-12-1999
  196. C:\>TIME 23:59
  197. C:\>ViewCMOS
  198.  
  199. -    Watch the "CMOS RTC date via the BIOS" as it passes midnight. 
  200.  
  201. The date should become 01-01-2000.  If it becomes 01-01-1900, the BIOS does not correct the date in real 
  202. time.
  203.  
  204. -    Reset the date to today's date.
  205.  
  206. Test2000.Exe is a free, simple and complete PC hardware year 2000 date compliance diagnostic.
  207.  
  208. This program or its documentation can change from time to time. If you did not get this from YEAR2000 
  209. Consultants Ltd, or our Web sites on
  210.  
  211. WWW.Y2KPCPRO.COM
  212. or
  213. WWW.Y2000FIX.COM
  214.  
  215. it's worth a visit to see if there's been a more recent version made available. 
  216.  
  217. Information on Y2KPCPro is available from
  218.  
  219. Year 2000 Consultants Limited
  220. UK and Europe
  221.  
  222. Website: WWW.Y2000FIX.COM
  223. UK:      0800 47 2000
  224. Inter:   44-171-928-3456
  225. Fax:     44-171-928-3233
  226. EMAIL:   info@y2000fix.com
  227.  
  228. Copyright notice:
  229.  
  230. ViewCMOS, Y2KPCPro, Test2000.Exe and this file (Test2000.Txt contained on the enclosed diskette) are Copyright 1997,
  231. RighTime, Miami.  All rights are reserved.
  232.  
  233. Permission is granted to freely copy, distribute and use this program in its complete, unmodified form 
  234. including this text file.
  235.  
  236. No warranty of performance or suitability is expressed or implied. Every effort has been made to make this 
  237. software program deliver as this documentation describes, but the correctness for your application or 
  238. environment cannot be assured.  We cannot assume responsibility for the failure of this software program, 
  239. nor for  ny consequence of its use. You are encouraged to test the applicability of this program to your 
  240. requirements and to verify the test results to your satisfaction with the assisted manual tests, as described 
  241. above, or with other valid testing procedures.
  242.  
  243. If you encounter trouble, or have any feedback or questions about this diagnostic, please contact us.
  244.  
  245. Year 2000 Consultants Limited
  246.  
  247. Website: WWW.Y2000FIX.COM
  248. UK:      0800 47 2000
  249. Inter:   44-171-928-3456
  250. Fax:     44-171-928-3233
  251. EMAIL:   support@y2000fix.com
  252.